package com.cl.mybatis.learn.day16.bean;

import lombok.Data;

/**
 * 一个订单多个订单明细
 *
 * @author zhoufei
 * @class: orderDetails
 * @date 2020/11/4 16:29
 * @Verson 1.0 -2020/11/4 16:29
 * @see
 */
@Data
public class OrderDetails {
    private Integer id;// 订单明细id
    private Integer ordersId;// 订单id
    private Integer itemsId;// 商品id
    private Integer itemsNum;// 商品数量
    private Items items;// 商品信息

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOrdersId() {
        return ordersId;
    }

    public void setOrdersId(Integer ordersId) {
        this.ordersId = ordersId;
    }

    public Integer getItemsId() {
        return itemsId;
    }

    public void setItemsId(Integer itemsId) {
        this.itemsId = itemsId;
    }

    public Integer getItemsNum() {
        return itemsNum;
    }

    public void setItemsNum(Integer itemsNum) {
        this.itemsNum = itemsNum;
    }

    public Items getItems() {
        return items;
    }

    public void setItems(Items items) {
        this.items = items;
    }
}